


            $(document).ready(function(){
                $('main .teams .item>p').click(function(){
                    var source = $(this).find('img')[0].src;
                    $('.designerPhoto img')[0].src = source;
                    $('.designerPhoto').addClass('show');
                })
                $('.designerPhoto .close').click(function(){
                    if($('.designerPhoto')[0].className.indexOf('show') >= 0){
                        $('.designerPhoto').removeClass('show');
                    }
                })
            })